ssl_cert_threshold

Configuration for SSL certificate configuration resource.

Read/write properties

hide_default_certs<Boolean>

Set the value to true if default certs in device need not be managed.

is_enabled<String>

true or false.

country<String>

Country Code.
Maximum length = 256

sms_profile<String>

SMS Profile.

id<String>

Id is system generated key for all the Thresholds configuration .
Maximum length = 256

city<String>

City.
Maximum length = 256

ctnsappname<String>

AppName.

slack_profile<String>

Slack Profile.

duration<String>

duration of metric to be checked against threshold.

stylebook_flag<Boolean>

Stylebook threshold configuration true or false.

feature<String>

feature.

servicenow_profile<String>

Servicenow Profile.

days_to_expiry<Integer>

Days remaining for expiry.
Maximum value =

exporter_id<Double>

Exporter Id.

mail_profile<String>

Mail Profile.

rule<String>

Rule.

reference_key<String>

Reference Key.

region<String>

Region Code.
Maximum length = 256

resource_type<String>

Resource Type.

pagerduty_profile<String>

PagerDuty Profile.

group_name<String>

Group Name.

ip_address<String>

Field to store the ip address as it is along with any extension.
Maximum length = 512

name<String>

name.

approved_signature_algo_list<String[]>

Signature Algorithm List.

approved_issuers_list<String[]>

Issuers List.

approved_ssl_protocol_list<String[]>

SSL Protocols List.

approved_key_strength_list<String[]>

Key Strength List.

Read only properties

tenant_name<String>

Tenant Name.

Operations

NOTE: In request payload, Mandatory parameters are marked red and bold.

The following parameters can be used in the nitro request :

onerror   <String_value>

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE

get (all)getupdate

get (all)

URL:https://<MGMT-IP>/nitro/v2/config/ssl_cert_threshold

Query-parameters:

filter

https://<MGMT-IP>/nitro/v2/config/ssl_cert_threshold?filter=property-name1:property-value1,property-name2:property-value2

Use this query-parameter to get the filtered set of ssl_cert_threshold resources configured on the system. You can set a filter on any property of the resource.

pagesize=#no&pageno=#no

https://<MGMT-IP>/nitro/v2/config/ssl_cert_threshold?pagesize=#no&pageno=#no

Use this query-parameter to get the ssl_cert_threshold resources in chunks.

count

https://<MGMT-IP>/nitro/v2/config/ssl_cert_threshold?count=yes

Use this query-parameter to get the count of ssl_cert_threshold resources.

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ssl_cert_threshold":[{
      "hide_default_certs":<Boolean_value>,
      "signature_algo_list":<String_value>,
      "is_enabled":<String_value>,
      "country":<String_value>,
      "sms_profile":<String_value>,
      "id":<String_value>,
      "issuers_list":<String_value>,
      "city":<String_value>,
      "ctnsappname":<String_value>,
      "slack_profile":<String_value>,
      "duration":<String_value>,
      "stylebook_flag":<Boolean_value>,
      "ssl_protocol_list":<String_value>,
      "key_strength_list":<String_value>,
      "feature":<String_value>,
      "servicenow_profile":<String_value>,
      "days_to_expiry":<Integer_value>,
      "exporter_id":<Double_value>,
      "mail_profile":<String_value>,
      "rule":<String_value>,
      "reference_key":<String_value>,
      "region":<String_value>,
      "tenant_name":<String_value>,
      "resource_type":<String_value>,
      "pagerduty_profile":<String_value>,
      "group_name":<String_value>,
      "ip_address":<String_value>,
      "name":<String_value>,
      "approved_signature_algo_list":<String_value>,
      "approved_issuers_list":<String_value>,
      "approved_ssl_protocol_list":<String_value>,
      "approved_key_strength_list":<String_value>}]}

get

URL:https://<MGMT-IP>/nitro/v2/config/ssl_cert_threshold/id_value<String>

HTTPS Method:GET

Request Headers:

Accept:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Headers:

Content-Type:application/json

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ssl_cert_threshold":[{
      "hide_default_certs":<Boolean_value>,
      "signature_algo_list":<String_value>,
      "is_enabled":<String_value>,
      "country":<String_value>,
      "sms_profile":<String_value>,
      "id":<String_value>,
      "issuers_list":<String_value>,
      "city":<String_value>,
      "ctnsappname":<String_value>,
      "slack_profile":<String_value>,
      "duration":<String_value>,
      "stylebook_flag":<Boolean_value>,
      "ssl_protocol_list":<String_value>,
      "key_strength_list":<String_value>,
      "feature":<String_value>,
      "servicenow_profile":<String_value>,
      "days_to_expiry":<Integer_value>,
      "exporter_id":<Double_value>,
      "mail_profile":<String_value>,
      "rule":<String_value>,
      "reference_key":<String_value>,
      "region":<String_value>,
      "tenant_name":<String_value>,
      "resource_type":<String_value>,
      "pagerduty_profile":<String_value>,
      "group_name":<String_value>,
      "ip_address":<String_value>,
      "name":<String_value>,
      "approved_signature_algo_list":<String_value>,
      "approved_issuers_list":<String_value>,
      "approved_ssl_protocol_list":<String_value>,
      "approved_key_strength_list":<String_value>}]}

update

URL:https://<MGMT-IP>/nitro/v2/config/ssl_cert_threshold/id_value<String>

HTTPS Method:PUT

Request Headers:

Content-Type:application/json

X-NITRO-USER:username_value<String>

X-NITRO-PASS:password_value<String>

or

Cookie:NITRO_AUTH_TOKEN=token_value<String>

Request Payload:JSON

{"ssl_cert_threshold":{
      "id":<String_value>,
      "is_enabled":<String_value>,
      "days_to_expiry":<Integer_value>,
      "servicenow_profile":<String_value>,
      "approved_ssl_protocol_list":<String_value[]>,
      "hide_default_certs":<Boolean_value>,
      "rule":<String_value>,
      "mail_profile":<String_value>,
      "sms_profile":<String_value>,
      "country":<String_value>,
      "exporter_id":<Double_value>,
      "city":<String_value>,
      "resource_type":<String_value>,
      "approved_signature_algo_list":<String_value[]>,
      "region":<String_value>,
      "approved_issuers_list":<String_value[]>,
      "reference_key":<String_value>,
      "feature":<String_value>,
      "approved_key_strength_list":<String_value[]>,
      "name":<String_value>,
      "stylebook_flag":<Boolean_value>,
      "duration":<String_value>,
      "ip_address":<String_value>,
      "group_name":<String_value>,
      "slack_profile":<String_value>,
      "pagerduty_profile":<String_value>,
      "ctnsappname":<String_value>}}

Response:

HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx (for general HTTPS errors) or 5xx (for NetScaler-MAS-specific errors). The response payload provides details of the error

Response Payload:JSON

{ "errorcode": 0, "message": "Done", "severity": <String_value>, "ssl_cert_threshold":[{
      "hide_default_certs":<Boolean_value>,
      "signature_algo_list":<String_value>,
      "is_enabled":<String_value>,
      "country":<String_value>,
      "sms_profile":<String_value>,
      "id":<String_value>,
      "issuers_list":<String_value>,
      "city":<String_value>,
      "ctnsappname":<String_value>,
      "slack_profile":<String_value>,
      "duration":<String_value>,
      "stylebook_flag":<Boolean_value>,
      "ssl_protocol_list":<String_value>,
      "key_strength_list":<String_value>,
      "feature":<String_value>,
      "servicenow_profile":<String_value>,
      "days_to_expiry":<Integer_value>,
      "exporter_id":<Double_value>,
      "mail_profile":<String_value>,
      "rule":<String_value>,
      "reference_key":<String_value>,
      "region":<String_value>,
      "tenant_name":<String_value>,
      "resource_type":<String_value>,
      "pagerduty_profile":<String_value>,
      "group_name":<String_value>,
      "ip_address":<String_value>,
      "name":<String_value>,
      "approved_signature_algo_list":<String_value>,
      "approved_issuers_list":<String_value>,
      "approved_ssl_protocol_list":<String_value>,
      "approved_key_strength_list":<String_value>}]}